home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / prtgrid2 / udemo.dfm / udemo.txt
Text File  |  1995-12-22  |  3KB  |  119 lines

  1. object Form1: TForm1
  2.   Left = 201
  3.   Top = 197
  4.   Width = 522
  5.   Height = 375
  6.   Caption = 'DBGRID PRINTER COMPONENT DEMO   VERSION 2.0 '
  7.   Font.Color = clWindowText
  8.   Font.Height = -13
  9.   Font.Name = 'System'
  10.   Font.Style = []
  11.   PixelsPerInch = 96
  12.   OnCreate = FormCreate
  13.   OnDestroy = FormDestroy
  14.   TextHeight = 16
  15.   object DBGrid1: TDBGrid
  16.     Left = 16
  17.     Top = 12
  18.     Width = 485
  19.     Height = 197
  20.     DataSource = DataSource1
  21.     Font.Color = clBlack
  22.     Font.Height = -13
  23.     Font.Name = 'Arial'
  24.     Font.Style = []
  25.     ParentFont = False
  26.     TabOrder = 0
  27.     TitleFont.Color = clWindowText
  28.     TitleFont.Height = -13
  29.     TitleFont.Name = 'System'
  30.     TitleFont.Style = []
  31.   end
  32.   object Button1: TButton
  33.     Left = 27
  34.     Top = 304
  35.     Width = 89
  36.     Height = 37
  37.     Caption = '&Print'
  38.     TabOrder = 1
  39.     OnClick = Button1Click
  40.   end
  41.   object Button2: TButton
  42.     Left = 139
  43.     Top = 304
  44.     Width = 166
  45.     Height = 37
  46.     Caption = '&Print With Dialog'
  47.     TabOrder = 2
  48.     OnClick = Button2Click
  49.   end
  50.   object Button3: TButton
  51.     Left = 320
  52.     Top = 304
  53.     Width = 181
  54.     Height = 37
  55.     Caption = '&Print To File'
  56.     TabOrder = 3
  57.     OnClick = Button3Click
  58.   end
  59.   object RadioGroup1: TRadioGroup
  60.     Left = 140
  61.     Top = 220
  62.     Width = 129
  63.     Height = 73
  64.     Caption = '&Printer orientation'
  65.     ItemIndex = 0
  66.     Items.Strings = (
  67.       '&Portrait'
  68.       '&Landscape')
  69.     TabOrder = 4
  70.     OnClick = RadioGroup1Click
  71.   end
  72.   object Table1: TTable
  73.     DatabaseName = 'DBDEMOS'
  74.     ReadOnly = True
  75.     TableName = 'CUSTOMER.DB'
  76.     Left = 24
  77.     Top = 240
  78.   end
  79.   object DataSource1: TDataSource
  80.     DataSet = Table1
  81.     Left = 56
  82.     Top = 240
  83.   end
  84.   object PrintGrid1: TPrintGrid
  85.     LeftMargin = 30
  86.     TopMargin = 40
  87.     RightMargin = 30
  88.     BottomMargin = 40
  89.     TitleFont.Color = clBlack
  90.     TitleFont.Height = -13
  91.     TitleFont.Name = 'Arial'
  92.     TitleFont.Style = [fsBold]
  93.     HeaderFont.Color = clBlack
  94.     HeaderFont.Height = -16
  95.     HeaderFont.Name = 'Arial'
  96.     HeaderFont.Style = [fsBold]
  97.     LinesFont.Color = clBlack
  98.     LinesFont.Height = -13
  99.     LinesFont.Name = 'Arial'
  100.     LinesFont.Style = []
  101.     DBGrid = DBGrid1
  102.     PrintMgrTitle = 'PrintGrid1'
  103.     HeaderAlignment = taCenter
  104.     PrintToFile = False
  105.     FromPage = 1
  106.     ToPage = 1000
  107.     Border = True
  108.     ColLines = True
  109.     RowLines = False
  110.     HorizontalGap = 4
  111.     VerticalGapPct = 20
  112.     PageNumberPos = pnTopRight
  113.     PageNumberLabel = 'Page: '
  114.     DatePos = pnTopLeft
  115.     Left = 88
  116.     Top = 240
  117.   end
  118. end
  119.